package com.eshin.autotest.processor;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.stereotype.Component;

/**
 * @author Eshin
 * @title: CustomBeanFactoryPostProcessor
 * @projectName pay
 * @date 2019/6/1717:27
 */

/**
 * BeanFactoryPostProcessor主要用于修改bean定义，对beanFactory中的相关参数进行修改
 */
@Component
public class AnnoCustomBeanFactoryPostProcessor implements  BeanFactoryPostProcessor {
    @Override
    public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
        System.out.println("AnnoCustomBeanFactoryPostProcessor postProcessBeanFactory");
    }

}
